package com.ztools.common.util.pc;

/**
 * @Author: 一口香菜
 * @Date: 2023/3/1  20:43
 * @Version 1.0
 * redis常量池
 */
public class RedisUtil {

    /**
     * token
     */
    public static final String LOGIN_TOKEN = "data:login:token:";

    /**
     * 账号权限
     */
    public static final String PERMISSIONS = "cache:permissions:";

    /**
     * 判断是否为管理员的内容
     */
    public static final String ADMIN_CONTENT = "data:admin:content";

    /**
     * 当前登入人员
     */
    public static final String CURRUSER = "data:curr:user";

    /**
     * 会员昵称更改限制
     */
    public static final String UPDATE_MEMBER_NICKNAME_LIMIT_PREFIX = "cache:update-nickname:limit:";

    /**
     * 会员券包缓存
     */
    public static final String CACHE_COUPON_PACKET = "cache:coupon:packet:";

    /**
     * 记住的账号信息
     */
    public static final String CACHE_REMEMBER_ME = "cache:remember:me:";

    /**
     * 订单查询次数
     */
    public static final String QUERY_ORDER_NUMBER = "cache:query:order:number:";

    /**
     * 卡号
     */
    public static final String DATA_CARD_NO_NUMBER = "data:card:no:number";

    /**
     * 段子手数据缓存
     */
    public static final String CACHE_MX_NZP_JOKES = "cache:mx:nzp:jokes";

}
